class CusPluginPlugin1 {
	constructor(options) {
		this.options = options;
	}
	apply(compiler) {
		console.log("\x1B[31m%s\x1B[0m", "this is plugin1");
		compiler.hooks.environment.tap("cus-plugin-plugin1", (compiler, callbk) => {
			console.log("\x1B[31m%s\x1B[0m", "this is plugin2");
			// callbk();
		});
	}
}

module.exports = exports = CusPluginPlugin1;
